package com.eascs.file;

import com.eascs.common.util.StringUtil;

public class FileTypeConstants {

	public static final String DALIST_TYPE_IDC = "IDC"; // 身份证附件

	public static final String DALIST_TYPE_IDRC = "IDRC"; // 借款人手持授权书及身份证照片

	public static final String DALIST_TYPE_CRD = "CRD"; // 征信业务授权书

	public static final String DALIST_TYPE_MATE_IDC = "MATE_IDC"; // 配偶身份证附件

	public static final String DALIST_TYPE_MATE_IDRC = "MATE_IDRC"; // 配偶借款人手持授权书及身份证照片

	public static final String DALIST_TYPE_MATE_CRD = "MATE_CRD"; // 配偶征信业务授权书
	
	public static final String DALIST_TYPE_Loaner_Warrant = "Loaner_Warrant"; // 借款人第三方数据查询授权书
	public static final String DALIST_TYPE_MATE_Warrant = "MATE_Warrant"; // 借款人第三方数据查询授权书
	public static final String DALIST_TYPE_Loaner_Warrant_IDCARD = "Loaner_Warrant_IDCARD"; // 借款人手持身份证及查询授权书
	public static final String DALIST_TYPE_MATE_Warrant_IDCARD = "MATE_Warrant_IDCARD"; // 配偶手持身份证及查询授权书
	
	public static final String DALIST_TYPE_DBZ_Warrant = "DBZ_Warrant"; // 担保人第三方数据查询授权书
	public static final String DALIST_TYPE_DBZ_Warrant_IDCARD = "DBZ_Warrant_IDCARD"; // 担保人手持身份证及查询授权书
    
	public static final String DALIST_TYPE_OTH = "OTH"; // 其他附件
	public static final String DALIST_TYPE_ZXFJ = "ZXFJ"; // 征信其他附件
	public static final String DALIST_TYPE_IAFJ = "IAFJ"; // 内审其他附件
	public static final String DALIST_TYPE_MQFJ = "MQFJ"; // 面签其他附件
	public static final String DALIST_TYPE_AFTER_LOAN_ADD = "AFTER_LOAN_ADD"; // 贷后补充其他附件

	public static final String DALIST_TYPE_LOANAPPLY = "LOANAPPLY"; // OTO贷款申请

	public static final String DALIST_TYPE_BZJDATA = "BZJDATA"; // 保证金管理费打款凭证.JPG

	public static final String DALIST_TYPE_BZJDFPZ = "BZJDFPZ"; // 保证金管理费代付款凭证.JPG

	public static final String DALIST_TYPE_ZXBGDATA = "ZXBGDATA"; // 征信报告
	public static final String DALIST_TYPE_DK_PZ = "DKPZ"; // 打款凭证
	public static final String DALIST_TYPE_Warrant_ZXBGDATA = "Warrant_ZXBGDATA"; //第三方征信报告
	public static final String DALIST_TYPE_House_IDCARD = "House_IDCARD"; //客户户口本复印附件
	
	public static final String DALIST_TYPE_ZxReport_UseWarrant = "ZxReport_UseWarrant"; //征信报告使用授权声明
	
	public static final String DALIST_TYPE_ApplyCredit_Intent = "ApplyCredit_Intent"; //授信申请意向书
	
	public static final String DALIST_TYPE_Organization_Code = "Organization_Code"; //组织机构代码证
	
	public static final String DALIST_TYPE_ZXMATE = "POZXBGDATA"; // 配偶征信报告

	public static final String DALIST_TYPE_NOTICE = "NOTICEFILE"; // 通知函

	public static final String DALIST_TYPE_GUIDELINE = "GUIDELINE"; // 操作指引

	public static final String DALIST_TYPE_CONTRACT = "CONTRACT"; // 合同资料

	public static final String DALIST_TYPE_REFUND = "REFUNDCONTRACTBAK";// 中行借据和借款合同

	public static final String DALIST_TYPE_FREIGHT = "FASTFREIGHT";//平台 快递寄送凭证
	
	public static final String DALIST_TYPE_PROVINCE_FREIGHT = "FASTFREIGHT_PRO";//省区 快递寄送凭证
	
	public static final String DALIST_TYPE_GD_BORROW = "GD_BORROW";//归档借阅 快递寄送凭证
	
	public static final String DALIST_TYPE_GD_REPEAT = "GD_REPEAT";//补充归档 快递寄送凭证 省区
	
	public static final String DALIST_TYPE_GD_REPEAT_PT = "GD_REPEAT_PT";//补充归档 快递寄送凭证 平台

	public static final String DALIST_TYPE_RPMENT = "REPAYMENTFILE";// 还款凭证
	public static final String DALIST_TYPE_REPAYMENT = "RPMENT";// 代偿回款代还款凭证

	public static final String DALIST_TYPE_BC_CONTRACT = "BANKAPPLYDATA";// 中行申报文件

	public static final String DALIST_TYPE_DCWD = "DCWD";// 内审调查文档

	public static final String DALIST_TYPE_NSFJ = "NSFJ";// 内审资料

	public static final String DALIST_TYPE_JQ_NSFJ = "JQNSFJ";// 加签内审资料

	public static final String DALIST_TYPE_GUARANTEE = "GUARANTEE";// 保证书

	public static final String DALIST_TYPE_MQ_VIDEO = "MQVIDEO";// 面签视频

	public static final String DALIST_TYPE_MQ_PHOTO = "MQPHOTO";// 面签照片

	public static final String DALTST_TYPE_RECOMMENDATION = "RECOMMENDATION";// 中行推荐函

	public static final String DALIST_TYPE_SPONSOR_IDRC = "SPONSOR_IDRC";// 担保人手持授权书及身份证照片

	public static final String DALIST_TYPE_SPONSOR_CRD = "SPONSOR_CRD";// 担保人征信业务授权书

	public static final String DALIST_TYPE_SPONSOR_IDC = "SPONSOR_IDC";// 担保人身份证

	public static final String DALIST_TYPE_SPONSOR_ZXBG = "SPONSOR_ZXBG";// 担保人征信报告

	public static final String DALIST_TYPE_HKXY = "HKXY";// 还款协议

	public static final String PARTNER_TYPE_RPMENT = "PARTNERFILE";// 合作方申请申请报告
	public static final String PARTNER_TYPE_PICTURE = "PICTUREFILE";// 合作方申请上门营销照片
	public static final String PARTNER_TYPE_EVIDENCE = "EVIDENCEFILE";// 合作方申请厂家证明文件

	
	public static final String ENTERPRISE_ZX_IDC = "ENTERPRISEZXIDC";// 法定代表人身份证复印件
	public static final String ENTERPRISE_ZX_IDRC = "ENTERPRISEZXIDRC";// 营业执照复印件
	public static final String ENTERPRISE_ZX_CRD = "ENTERPRISEZXCRD";// 企业征信授权书
	public static final String ENTERPRISE_ZX_ICRD = "ENTERPRISEZXICRD";// 手持身份证原件与企业版征信授权书
	public static final String ENTERPRISE_ZX_IDCARD = "ENTERPRISEZXIDCARD";// 企业征信报告
	
	public static final String ENTERPRISE_ZX_PFZXZZM = "ENTERPRISEZXPFZXZZM";// 浦发银行企业征信中征码
	public static final String ENTERPRISE_ZX_PFZXSQS = "ENTERPRISEZXPFZXSQS";// 企业征信授权书（有中征码）
	
	
	public static final String JXS_PARTNER_TYPE_RPMENT = "JSXPARTNERFILE";// 经销商合作方申请申请报告
	public static final String JXS_PARTNER_TYPE_PICTURE = "JSXPICTUREFILE";// 经销商合作方申请上门营销照片
	public static final String JXS_PARTNER_TYPE_EVIDENCE = "JSXEVIDENCEFILE";// 经销商合作方申请厂家证明文件
	
	
	
	public static final String BRAND_TYPE_RPMENT = "BRANDFILE";// 品牌申请流程

	public static final String LOAN_CHECK_TYPE_RPMENT = "CHECKFILE";// 贷后定期检查申请流程

	public static final String DALIST_TYPE_TQHK = "TQHK"; // 身份证附件

	public static final String DALIST_TYPE_HK = "HKFKWJ"; // 代偿情况反馈资料

	public static final String DALIST_TYPE_CREDITFILING = "CREDITFILING";// 征信归档快递

	public static final String DALIST_TYPE_DHK = "DHKFILE";// 代还款确认附件
	public static final String DALIST_TYPE_FQHKHT = "FQHKHT";// 分期还款合同
	public static final String DALIST_TYPE_FQQYZP = "FQQYZP";// 分期签约照片
	
	
	public static final String DALIST_TYPE_FKZZWJ = "FKZZWJ";// 付款转账文件
	/**
	 * 需求申请附件
	 */
	public static final String DALIST_TYPE_O2OPDR = "O2OPDR";
	
	public static final String CLASSIFY_TYPE = "CLASSIFY";// 人工贷款分类附件

	public static String getDatalistName(String datalistCode) {
		String datalistName = "未知附件";
		if (StringUtil.isNotBlank(datalistCode)) {
			if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_IDC)) {
				datalistName = "身份证附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_IDRC)) {
				datalistName = "手持授权书及身份证照片";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_CRD)) {
				datalistName = "征信业务授权书";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MATE_IDC)) {
				datalistName = "配偶借款人身份证附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MATE_IDRC)) {
				datalistName = "配偶借款人手持授权书及身份证照片";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MATE_CRD)) {
				datalistName = "配偶征信业务授权书";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_Loaner_Warrant)) {
				datalistName = "第三方数据查询授权书";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MATE_Warrant)) {
				datalistName = "配偶第三方数据查询授权书";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_Loaner_Warrant_IDCARD)) {
				datalistName = "手持第三方征信授权书与身份证";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MATE_Warrant_IDCARD)) {
				datalistName = "配偶手持身份证及查询授权书";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_LOANAPPLY)) {
				datalistName = "OTO贷款申请表";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_BZJDATA)) {
				datalistName = "保证金管理费打款凭证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_BZJDFPZ)) {
				datalistName = "保证金管理费代付款凭证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_ZXBGDATA)) {
				datalistName = "征信报告";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_ZXMATE)) {
				datalistName = "配偶征信报告";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_NOTICE)) {
				datalistName = "通知函";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_CONTRACT)) {
				datalistName = "面签材料";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_BC_CONTRACT)) {
				datalistName = "中行申报文件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_GUIDELINE)) {
				datalistName = "操作指引";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_GD_BORROW)) {
				datalistName = "归档借阅快递寄送凭证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_GD_REPEAT)) {
				datalistName = "补充归档快递寄送凭证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_FREIGHT)) {
				datalistName = "快递寄送凭证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_RPMENT)) {
				datalistName = "还款凭证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_REPAYMENT)) {
				datalistName = "代偿回款代还款凭证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MQ_PHOTO)) {
				datalistName = "面签照片";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MQ_VIDEO)) {
				datalistName = "面签视频";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_GUARANTEE)) {
				datalistName = "保证书";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_REFUND)) {
				datalistName = "借据合同";
			} else if (datalistCode.equals(FileTypeConstants.DALTST_TYPE_RECOMMENDATION)) {
				datalistName = "中行推荐函";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_DCWD)) {
				datalistName = "内审调查文档";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_SPONSOR_CRD)) {
				datalistName = "担保人征信业务授权书";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_SPONSOR_IDC)) {
				datalistName = "担保人身份证";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_SPONSOR_ZXBG)) {
				datalistName = "担保人征信报告";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_SPONSOR_IDRC)) {
				datalistName = "担保人手持授权书及身份证照片";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_DBZ_Warrant)) {
				datalistName = "担保人第三方数据查询授权书";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_DBZ_Warrant_IDCARD)) {
				datalistName = "担保人手持身份证及查询授权书";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_HKXY)) {
				datalistName = "还款协议";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_NSFJ)) {
				datalistName = "内审资料";
			} else if (datalistCode.equals(FileTypeConstants.PARTNER_TYPE_RPMENT) || 
					datalistCode.equals(FileTypeConstants.JXS_PARTNER_TYPE_RPMENT)) {
				datalistName = "合作方申请报告";
			} else if (datalistCode.equals(FileTypeConstants.PARTNER_TYPE_PICTURE) ||
					datalistCode.equals(FileTypeConstants.JXS_PARTNER_TYPE_PICTURE)) {
				datalistName = "上门营销照片";
			} else if (datalistCode.equals(FileTypeConstants.PARTNER_TYPE_EVIDENCE) || 
					datalistCode.equals(FileTypeConstants.JXS_PARTNER_TYPE_EVIDENCE)) {
				datalistName = "厂家证明文件";
			} else if (datalistCode.equals(FileTypeConstants.BRAND_TYPE_RPMENT)) {
				datalistName = "品牌申请";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_JQ_NSFJ)) {
				datalistName = "加签补充内审资料";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_TQHK)) {
				datalistName = "提前还款凭证";
			} else if (datalistCode.equals(FileTypeConstants.LOAN_CHECK_TYPE_RPMENT)) {
				datalistName = "贷后定期检查";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_HK)) {
				datalistName = "代偿情况反馈资料";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_CREDITFILING)) {
				datalistName = "征信归档附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_ZXFJ)) {
				datalistName = "征信附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_IAFJ)) {
				datalistName = "内审附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_MQFJ)) {
				datalistName = "面签附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_AFTER_LOAN_ADD)) {
				datalistName = "贷后补充附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_DHK)) {
				datalistName = "代还款确认附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_O2OPDR)) {
				datalistName = "需求申请附件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_FQHKHT)) {
				datalistName = "分期还款合同";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_FQQYZP)) {
				datalistName = "分期签约照片";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_FKZZWJ)) {
				datalistName = "付款转账文件";
			} else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_Warrant_ZXBGDATA)) {
				datalistName = "客户征第三方征信文件";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_House_IDCARD)) {
				datalistName = "客户户口本复印件";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_ZxReport_UseWarrant)) {
				datalistName = "征信报告使用授权声明";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_ApplyCredit_Intent)) {
				datalistName = "授信申请意向书";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_Organization_Code)) {
				datalistName = "组织机构代码证";
			} else if (datalistCode.equals(FileTypeConstants.ENTERPRISE_ZX_IDC)) {
				datalistName = "法定代表人身份证复印件";
			} else if (datalistCode.equals(FileTypeConstants.ENTERPRISE_ZX_IDRC)) {
				datalistName = "营业执照复印件";
			} else if (datalistCode.equals(FileTypeConstants.ENTERPRISE_ZX_CRD)) {
				datalistName = "企业征信授权书";
			} else if (datalistCode.equals(FileTypeConstants.ENTERPRISE_ZX_ICRD)) {
				datalistName = "手持身份证原件与企业版征信授权书";
			}else if (datalistCode.equals(FileTypeConstants.ENTERPRISE_ZX_IDCARD)) {
				datalistName = "企业征信报告";
			}else if (datalistCode.equals(FileTypeConstants.ENTERPRISE_ZX_PFZXZZM)) {
				datalistName = "浦发银行企业征信中征码";
			}else if (datalistCode.equals(FileTypeConstants.ENTERPRISE_ZX_PFZXSQS)) {
				datalistName = "企业征信授权书（有中征码）";
			}else if (datalistCode.equals(FileTypeConstants.CLASSIFY_TYPE)) {
				datalistName = "人工贷款分类附件";
			}else if (datalistCode.equals(FileTypeConstants.DALIST_TYPE_DK_PZ)) {
				datalistName = "打款凭证";
			}else {
				datalistName = "其它";
			}
		}
		return datalistName;
	}
}

